Skip to content

[19.0][MIG] stock_available_base_exclude_location: Migration to v19 - #76

Open
AaronHForgeFlow wants to merge 29 commits into
OCA:19.0from
ForgeFlow:19.0-mig-stock_available_base_exclude_location
Open

AaronHForgeFlow wants to merge 29 commits into
OCA:19.0from
ForgeFlow:19.0-mig-stock_available_base_exclude_location

Conversation

@AaronHForgeFlow

Copy link
Copy Markdown

No description provided.

rousseldenis and others added 28 commits May 18, 2026 16:02
Adds a base module to help excluding locations for product
available quantities.
…ield

As it is sometimes more comfortable to use a domain to exclude locations than
list of ids, add a field to store that domain.
Currently translated at 100.0% (7 of 7 strings)

Translation: stock-logistics-availability-16.0/stock-logistics-availability-16.0-stock_available_base_exclude_location
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-availability-16-0/stock-logistics-availability-16-0-stock_available_base_exclude_location/it/
Move test dependency to test-requirements.txt
@OCA-git-bot OCA-git-bot added mod:stock_available_base_exclude_location Module stock_available_base_exclude_location series:19.0 labels May 18, 2026
@AaronHForgeFlow
AaronHForgeFlow force-pushed the 19.0-mig-stock_available_base_exclude_location branch from be41c10 to 291103e Compare May 19, 2026 10:17
@AaronHForgeFlow
AaronHForgeFlow force-pushed the 19.0-mig-stock_available_base_exclude_location branch from 291103e to feea07e Compare May 19, 2026 10:38
@github-actions

Copy link
Copy Markdown

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions Bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Sep 20, 2026

@peluko00 peluko00 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@github-actions github-actions Bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 25, 2026
)
domain_move_out_loc = (
list(Domain(domain_excluded_move_out_loc) & Domain(domain_move_out_loc))
if domain_excluded_move_in_loc

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if domain_excluded_move_in_loc
if domain_excluded_move_out_loc

this looks like a bad copy-pased bug

[("location_id", "not in", excluded_location_ids.ids)],
domain_excluded_quant_loc,
]
domain_excluded_quant_loc = list(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why casting to list ?
core/super is returning Domain instances

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:stock_available_base_exclude_location Module stock_available_base_exclude_location series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.